package com.bestow.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 编码规则值对象 fnd_coding_rule_values
 * 
 * @author liliu
 * @date 2022-09-03
 */
public class FndCodingRuleValues extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码规则ID */
    @Excel(name = "编码规则ID")
    private Long codingRuleId;

    /** 年 */
    @Excel(name = "年")
    private Integer year;

    /** 月 */
    @Excel(name = "月")
    private String month;

    /** 当前值 */
    @Excel(name = "当前值")
    private Integer currentValue;

    public void setCodingRuleId(Long codingRuleId) 
    {
        this.codingRuleId = codingRuleId;
    }

    public Long getCodingRuleId() 
    {
        return codingRuleId;
    }
    public void setYear(Integer year) 
    {
        this.year = year;
    }

    public Integer getYear() 
    {
        return year;
    }
    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }
    public void setCurrentValue(Integer currentValue) 
    {
        this.currentValue = currentValue;
    }

    public Integer getCurrentValue() 
    {
        return currentValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("codingRuleId", getCodingRuleId())
            .append("year", getYear())
            .append("month", getMonth())
            .append("currentValue", getCurrentValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
